
#添加标记
tag @s add GetGifting

#新手礼包
tag @s[tag=!OldPlayer] remove GetGifting
#加群礼包
tag @s[tag=!GroupGift] remove GetGifting

#若没有礼包则不提示
tellraw @s[tag=GetGifting] [{"text":"                                          \n","color":"gold","bold":true,"italic":false,"underlined":false,"strikethrough":true,"obfuscated":false},{"text":"您没有可领取的礼包","color":"white","bold":false,"strikethrough":false}]




#判断有礼包可领取就给出提示前置
tellraw @s[tag=!GetGifting] [{"text":"                                          \n","color":"gold","bold":true,"italic":false,"underlined":false,"strikethrough":true,"obfuscated":false},{"text":"以下为您可领取的礼包列表","color":"white","bold":false,"strikethrough":false}]

#新手礼包
tellraw @s[tag=!GetGifting,tag=!OldPlayer] [{"text":"\n新人礼包","color":"green","bold":true},{"text":" 输入/trigger SystemGift set 1领取\n","color":"white","bold":false},{"text":"包含[ ","color":"white","bold":false},{"text":"金币","color":"gold","bold":true},{"text":"×500","color":"white","bold":false},{"text":" 全英雄使用权","color":"gold","bold":true},{"text":"20分钟 ]","color":"white","bold":false}]

#加群礼包
tellraw @s[tag=!GetGifting,tag=!GroupGift] [{"text":"\n加群礼包","color":"green","bold":true},{"text":" 礼包码请加群：887419085获取","color":"white","bold":false},{"text":"\n包含[ ","color":"white","bold":false},{"text":"战斗忠声","color":"yellow","bold":true},{"text":"音效","color":"light_purple","bold":true},{"text":" 全英雄使用权","color":"gold","bold":true},{"text":"20分钟 ]","color":"white","bold":false}]


#清除标记
tag @s remove GetGifting